/**  
 * @Title CommonConstants.java
 * @date 2016�?5�?25�? 下午3:04:05
 * @Copyright (c) 2016, unibroad.com Inc. All rights reserved.
 */
package com.strugglerz.model.common;

import java.text.SimpleDateFormat;

/**
 * @Description
 * @Class com.unibroad.touchus.common.model.CommonConstants
 * @author suan@unibroad.com
 * @version V1.0
 */
public class CommonConstants {

	public static final SimpleDateFormat SDT_FMT = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

    public static final SimpleDateFormat DAY_FMT = new SimpleDateFormat("yyyy-MM-dd");

    public static final SimpleDateFormat DAY_FMT_2 = new SimpleDateFormat("MM/dd/yyyy");

    /** 操作结果数据key - success */
    public static final String OPERATE_RESULT_KEY_SUCESS = "success";

    /** 操作结果数据key - errorCode */
    public static final String OPERATE_RESULT_KEY_ERRORCODE = "errorCode";

    /** 操作结果数据key - errorCodeName */
    public static final String OPERATE_RESULT_KEY_ERRORCODE_NAME = "errorCodeName";

    /** 操作结果数据key - message */
    public static final String OPERATE_RESULT_KEY_MSG = "message";

    /** 出错信息提示key */
    public static final String ERROR_MSG_TIP_KEY = "errorMsg";

    /** 出错信息提示key */
    public static final String ERROR_PAGE_TAG = "isErrPage";

    /** 操作结果数据key - data */
    public static final String OPERATE_RESULT_KEY_DATA = "data";

    /** | 分隔符 */
    public static final String VERTICAL_SEPARATOR = "|";

    /** - 分隔符 */
    public static final String HORIZONTAL_SEPARATOR = "-";

    /** _ 分隔符 */
    public static final String UNDERLINE_SEPARATOR = "_";

    /** ～分隔符 */
    public static final String COMMA_SEPARATOR_TILDE = "~";

    /** - 调号分隔符 */
    public static final String COMMA_SEPARATOR = ",";

    /** . 句点分隔符 */
    public static final String DOT_SEPARATOR = ".";

    /** ; 句点分隔符 */
    public static final String SEMICOLON_SEPARATED = ";";

    /** - 单引号分隔符 */
    public static final String SINGLE_QUOTE_COMMA_SEPARATOR = "'";
    
    /** / 斜杠分隔符 */
    public static final String SLASH_SEPARATOR = "/";

    /** 系统环境配置 */
    public static final String SYS_ENV_PROFILE = "spring.profiles.active";

    /** 开发测试环境 */
    public static final String SYS_ENV_PROFILE_DEV = "dev";

}
